NotificationChannelGroupCompat

A grouping of related notification channels. e.g., channels that all belong to a single account. Setters return this to allow chaining. This class doesn't do anything on older SDKs which don't support Notification Channels.

Types

Link copied to clipboard
open class Builder
Builder class for NotificationChannelGroupCompat objects.

Functions

Link copied to clipboard
@NonNull
open fun getChannels(): @NonNull List<NotificationChannelCompat>
Returns the list of channels that belong to this group.
Link copied to clipboard
@Nullable
open fun getDescription(): @Nullable String
Gets the user visible description of the group.
Link copied to clipboard
@NonNull
open fun getId(): @NonNull String
Gets the id of the group.
Link copied to clipboard
@Nullable
open fun getName(): @Nullable CharSequence
Gets the user visible name of the group.
Link copied to clipboard
open fun isBlocked(): Boolean
Returns whether or not notifications posted to NotificationChannelCompat belonging to this group are blocked.
Link copied to clipboard
Creates a Builder instance with all the writeable property values of this instance.